//
//  Exporter.h
//  iBioCAD
//
//  Created by Orbitus on 10/10/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface Exporter : NSObject {
	
	IBOutlet NSProgressIndicator *exportProgess;
	IBOutlet NSTextField *exportName;
	IBOutlet NSPopUpButton *exportFormat;
	IBOutlet NSPathControl *exportPath;
	IBOutlet NSButton *exportOption;
	IBOutlet NSArrayController *dnaArrayController;
	
	NSPersistentStoreCoordinator *persistentStoreCoordinator;
    NSManagedObjectModel *managedObjectModel;
    NSManagedObjectContext *managedObjectContext;

	NSDictionary * entities;
	NSEntityDescription * dnaEntity;
	NSSortDescriptor * dnaSortTitle;
	NSArray * dnaSortDescriptors;
	NSFetchRequest * dnaFetch;
	NSPredicate * predicate;
	
	NSArrayController *dnaArray;
	NSString *exportPathString;
	
	id myDocController;
	id myDocs;
}
- (IBAction)export:(id)sender;

- (void) setController:(id)controller;

@end
